import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {  // 这部分
    alias: {
      "@": path.resolve(__dirname,'src')
    },
    extensions: [".js", ".ts", ".tsx", ".jsx"],
  }
})
